Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 15 - Pick Objects / Pick Objects Reference
Pick Objects Routines / Managing Shape Parts and Mesh Parts


Q3ShapePart_GetShape

You can use the Q3ShapePart_GetShape function to get the shape object that contains a shape part object.

TQ3Status Q3ShapePart_GetShape (
TQ3ShapePartObject shapePartObject, 
TQ3ShapeObject *shapeObject);
shapePartObject
A shape part object.
shapeObject
On exit, the shape object that contains the specified shape part object.
DESCRIPTION
The Q3ShapePart_GetShape function returns, in the shapeObject parameter, the shape object that contains the shape part object specified by the shapePartObject parameter.

Note
You don't need to call Q3ShapePart_GetShape if you've already retrieved a hit data structure by calling Q3Pick_GetHitData because the containing object is specified by the object field of that structure.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996